package org.oschina.api.index.model;

import org.oschina.Constants;
import org.oschina.bean.BaseBean;
import org.oschina.helper.query.annotation.Cache;
import org.oschina.helper.query.annotation.Table;

@Table(name=Constants.DB_INDEX)
@Cache(name=Constants.CACHE_INDEX,timeout=Constants.TIMEOUT_INDEX)
public class Index extends BaseBean {

	private Integer id;
	private String name;
	private Integer major;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getId() {
		return id;
	}
	public Integer getMajor() {
		return major;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public void setMajor(Integer majoy) {
		this.major = majoy;
	}
	
}